package com.guoxin.decorator;

public class Coffee extends Order {
	private String name;
	private float price;

	@Override
	public float cost() {
		return getPrice();
	}

	public Coffee(String name, float price) {
		super();
		this.name = name;
		this.price = price;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public float getPrice() {
		return price;
	}


	public void setPrice(float price) {
		this.price = price;
	}

	@Override
	public String desc() {
		return name;
	}
	
	

}
